import { Global, Module } from '@nestjs/common';

import { TypeOrmModule } from '@nestjs/typeorm';
import { UserEntity } from '../system/user/entities/user.entity';
import { UserService } from '../system/user/services/user.service';
import { InitDbServices } from './services/init-db/init-db.services';
import { ToolsService } from './services/tools/tools.service';
@Global()
@Module({
  imports: [TypeOrmModule.forFeature([UserEntity])],
  providers: [InitDbServices, ToolsService, UserService],
  exports: [ToolsService],
})
export class SharedModule {}
